package com.example.mall.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.mall.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@TableName("product")
@EqualsAndHashCode(callSuper = true)
public class Product extends BaseEntity {
    private String productName;
    private String description;
    private Integer stock;
    private BigDecimal price;
    private Long categoryId;
} 